package com.zlll.winner.business.service.sysUser;

import com.zlll.winner.business.model.sysUser.SysPermissionRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜单权限 服务类
 * </p>
 *
 * @author ricky
 * @since 2019-09-06
 */
public interface ISysPermissionRoleService extends IService<SysPermissionRole> {

    void addPermissionRole(List<Long> menuIds, Long userId, String name, Long roleId);

    List<SysPermissionRole> getPermissionRoleList(Long id);

    List<SysPermissionRole> getPermissionRoleAllList(Long id);

    void deletePermissionRole(Long id, Long userId, String name);
}
